﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using ReceiptPrint.Models;


namespace ReceiptPrint.ViewModels.CommodityTypeVMs
{
    public partial class CommodityTypeTemplateVM : BaseTemplateVM
    {
        [Display(Name = "商品分类")]
        public ExcelPropety Name_Excel = ExcelPropety.CreateProperty<CommodityType>(x => x.Name);
        [Display(Name = "税率")]
        public ExcelPropety Tax_Excel = ExcelPropety.CreateProperty<CommodityType>(x => x.Tax);

	    protected override void InitVM()
        {
        }

    }

    public class CommodityTypeImportVM : BaseImportVM<CommodityTypeTemplateVM, CommodityType>
    {

    }

}
